type runtime.heapArena
10 uses
runtime (current package)
malloc.go#L664: const arenaMetaSize = (1 << arenaBits) * unsafe.Sizeof(heapArena{})
malloc.go#L864: l2 = (*[1 << arenaL2Bits]*heapArena)(sysAllocOS(unsafe.Sizeof(*l2), "heap index"))
malloc.go#L879: var r *heapArena
malloc.go#L880: r = (*heapArena)(h.heapArenaAlloc.alloc(unsafe.Sizeof(*r), goarch.PtrSize, &memstats.gcMiscSys, "heap metadata"))
malloc.go#L882: r = (*heapArena)(persistentalloc(unsafe.Sizeof(*r), goarch.PtrSize, &memstats.gcMiscSys))
malloc.go#L956: l2 := (*[1 << arenaL2Bits]*heapArena)(atomic.Loadp(unsafe.Pointer(&h.arenas[i])))
mheap.go#L150: arenas [1 << arenaL1Bits]*[1 << arenaL2Bits]*heapArena
mheap.go#L268: type heapArena struct {
mheap.go#L757: func pageIndexOf(p uintptr) (arena *heapArena, pageIdx uintptr, pageMask uint8) {
mheap.go#L766: func heapArenaOf(p uintptr) *heapArena {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |